function r = CheckPpedGoodness(pnums, pp, npts)
    Wp = load('workParams.mat');
    
    goodPts = 0;

    for ii = 1:npts
        r = rand(1,length(pnums));
        pStr2Double = defParamSet(Wp.pdm);
        
        vr = zeros(length(pnums),1);

        for i = 1:length(pnums);
            bounds = pp(i,:);
            vr(i) = bounds(1) + (bounds(2) - bounds(1))*r(i);
            pStr2Double(cell2mat(Wp.k(pnums(i) ) ) ) = vr(i);
        end
        
        br = isParamsGood(Wp.pf, pStr2Double);
        if sum(br) == 3
            goodPts = goodPts + 1;
            fprintf('pt N %i,   %f of pts are good\n', ii, (goodPts/ii));
        end
    end    
    
    r = goodPts / npts;
    %vr = zeros(length(pnums),1);
end